/*
 * CXMLParserTester
 *
 *  Created on: 7 oct. 2009
 *      Author: Maxime Gaudin
 */
#include "../Sockets/CHTTPRetriever.h"
#include "../CXMLParser.h"
#include <iostream>

using namespace std;

int main(int argc, char** argv)
{
	CHTTPRetriever::CHTTPRetriever* HTTPTest = new CHTTPRetriever::CHTTPRetriever();
	CXMLParser::CXMLParser* Parser = new CXMLParser::CXMLParser();
	vector<string> items = Parser->getItems(HTTPTest->GET("http://www.clubic.com/xml/article.xml"));

	cout << items[0];
}
